package com.moive.news.tqnewsapplication.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/18.
 */

public class PinLunInfo {

    /**
     * code : 0
     * msg : 成功
     * data : [{"toUser":{"headImg":"/uploads/2017-12-15/1b583c746ff94929bd95c359625de541.jpg","nickName":"擦玻璃","sex":1,"telephone":"3333","id":"4028805e604de54801604de593860000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e6057ccb3016057d9f9f70001","content":"测试子评论","createDate":1513302391000},{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e6057ccb3016057daffab0002","content":"测试子评论","createDate":1513302458000},{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e60584bfc0160584c4e2c0000","content":"测试子评论1111","createDate":1513309884000}],"id":"4028805e6057ccb3016057d8779d0000","content":"测试评论","createDate":1513302292000}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        public DataBean() {
        }

        /**
         * toUser : {"headImg":"/uploads/2017-12-15/1b583c746ff94929bd95c359625de541.jpg","nickName":"擦玻璃","sex":1,"telephone":"3333","id":"4028805e604de54801604de593860000"}
         * fromUser : {"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"}
         * childrenComments : [{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e6057ccb3016057d9f9f70001","content":"测试子评论","createDate":1513302391000},{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e6057ccb3016057daffab0002","content":"测试子评论","createDate":1513302458000},{"toUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"fromUser":{"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"},"childrenComments":[],"id":"4028805e60584bfc0160584c4e2c0000","content":"测试子评论1111","createDate":1513309884000}]
         * id : 4028805e6057ccb3016057d8779d0000
         * content : 测试评论
         * createDate : 1513302292000
         */

        private ToUserBean toUser;
        private FromUserBean fromUser;
        private String id;
        private String content;
        private long createDate;
        private List<ChildrenCommentsBean> childrenComments;

        public ToUserBean getToUser() {
            return toUser;
        }

        public void setToUser(ToUserBean toUser) {
            this.toUser = toUser;
        }

        public FromUserBean getFromUser() {
            return fromUser;
        }

        public void setFromUser(FromUserBean fromUser) {
            this.fromUser = fromUser;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public List<ChildrenCommentsBean> getChildrenComments() {
            return childrenComments;
        }

        public void setChildrenComments(List<ChildrenCommentsBean> childrenComments) {
            this.childrenComments = childrenComments;
        }

        public static class ToUserBean {
            /**
             * headImg : /uploads/2017-12-15/1b583c746ff94929bd95c359625de541.jpg
             * nickName : 擦玻璃
             * sex : 1
             * telephone : 3333
             * id : 4028805e604de54801604de593860000
             */

            private String headImg;
            private String nickName;
            private int sex;
            private String telephone;
            private String id;

            public String getHeadImg() {
                return headImg;
            }

            public void setHeadImg(String headImg) {
                this.headImg = headImg;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getTelephone() {
                return telephone;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }

        public static class FromUserBean {
            /**
             * nickName : 手机用户:15906812686
             * sex : 0
             * telephone : 22222
             * id : 4028805e604db27d01604db326e00000
             */
            private String headimg;
            private String nickname;
            private int sex;
            private String telephone;
            private String id;

            public String getHeadimg() {
                return headimg;
            }

            public void setHeadimg(String headimg) {
                this.headimg = headimg;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getTelephone() {
                return telephone;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }

        public static class ChildrenCommentsBean {
            /**
             * toUser : {"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"}
             * fromUser : {"nickName":"手机用户:15906812686","sex":0,"telephone":"22222","id":"4028805e604db27d01604db326e00000"}
             * childrenComments : []
             * id : 4028805e6057ccb3016057d9f9f70001
             * content : 测试子评论
             * createDate : 1513302391000
             */

            private ToUserBeanX toUser;
            private FromUserBeanX fromUser;
            private String id;
            private String content;
            private long createDate;
            private List<?> childrenComments;

            public ToUserBeanX getToUser() {
                return toUser;
            }

            public void setToUser(ToUserBeanX toUser) {
                this.toUser = toUser;
            }

            public FromUserBeanX getFromUser() {
                return fromUser;
            }

            public void setFromUser(FromUserBeanX fromUser) {
                this.fromUser = fromUser;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public List<?> getChildrenComments() {
                return childrenComments;
            }

            public void setChildrenComments(List<?> childrenComments) {
                this.childrenComments = childrenComments;
            }

            public static class ToUserBeanX {
                /**
                 * nickName : 手机用户:15906812686
                 * sex : 0
                 * telephone : 22222
                 * id : 4028805e604db27d01604db326e00000
                 */

                private String nickname;
                private int sex;
                private String telephone;
                private String id;

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public int getSex() {
                    return sex;
                }

                public void setSex(int sex) {
                    this.sex = sex;
                }

                public String getTelephone() {
                    return telephone;
                }

                public void setTelephone(String telephone) {
                    this.telephone = telephone;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public static class FromUserBeanX {
                /**
                 * nickName : 手机用户:15906812686
                 * sex : 0
                 * telephone : 22222
                 * id : 4028805e604db27d01604db326e00000
                 */

                private String nickname;
                private int sex;
                private String telephone;
                private String id;

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public int getSex() {
                    return sex;
                }

                public void setSex(int sex) {
                    this.sex = sex;
                }

                public String getTelephone() {
                    return telephone;
                }

                public void setTelephone(String telephone) {
                    this.telephone = telephone;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
    }
}
